import {post} from './../config/http';

interface UserLogin {
  account: string;
  password: string;
}

export const loginApi = async (data: UserLogin) => {
  const res = await post({
    url: '/mock/13/login',
    data,
  });
  return res;
};
